package com.inibb.app.service;

import java.util.List;

import com.inibb.app.exception.ServiceVLDException;
import com.inibb.app.po.GoodsPicRef;
import com.inibb.app.po.Pic;
import com.inibb.app.vo.GoodsSC;
import com.inibb.app.vo.GoodsVO;




public interface IGoodsService {
	public GoodsVO getGoods(Integer id);
	//public Integer countGoodsByType(Integer goodsTypeId);
	//public List<GoodsVO> searchGoodsByType(Integer goodsTypeId,final Integer start);
	public GoodsVO saveGoods(GoodsVO p) throws ServiceVLDException;
	public Pic savePic(Pic p) throws ServiceVLDException;
	public void saveGoodsPicRef(GoodsPicRef r);
	public int countGoods(GoodsSC paginationCriteria);
	public List<GoodsVO> searchGoods(GoodsSC paginationCriteria);
	public void deleteGoods(Integer id);
	
}
